package com.parking.stall.service;

import com.parking.common.core.model.PageInfo;
import com.parking.stall.dto.RentersSelectStallCheckDTO;
import com.parking.stall.entity.StallCheck;
import com.baomidou.mybatisplus.extension.service.IService;
import com.parking.stall.param.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 彭于晏
 * @since 2023年11月29日
 */
public interface StallCheckService extends IService<StallCheck> {
    /**
     *出租客申请车位入驻物业
     * @param param:出租客车位申请参数类
     * @return:true/false
     * @throws Exception
     */
    public Boolean add(AddStallCheckParam param)throws Exception;

    /**
     *
     * @param param:物业审核出租客申请参数类
     * @return:true/false
     */
    public Boolean stallCheck(CertifiedCheckStallParam param)throws Exception;

    /**
     * stallCheckUpdate:出租客修改车位审核申请信息
     * @param param：出租客修改车位审核申请信息参数对象
     * @return
     */
    public Boolean stallCheckUpdate(CheckStallUpdateParam param)throws Exception;

    /**
     * rentersSelect:出租客查询申请
     * @return
     * @throws Exception
     */
    public RentersSelectStallCheckDTO rentersSelect(Integer rentersId)throws Exception;

    /**
     *
     * @param param:物业分页查询审核信息
     * @return PageInfo:分页对象
     * @throws Exception
     */
    public PageInfo certifiedSelect(CertifiedSelectCheckStallParam param)throws Exception;

    /**
     *  platformSelect ：平台查询车位审核申请
     * @param param 平台查询车位审核申请参数对象
     * @return   param:物业分页查询审核信息
     * @throws Exception
     */
    PageInfo platformSelect(PlatformSelectCheckStallParam param)throws Exception;
}
